package com.zhentao.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhentao.domain.SysActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.domain.dto.PageDto;

import java.util.List;

/**
* @author 86133
* @description 针对表【sys_activity】的数据库操作Service
* @createDate 2024-09-06 10:00:56
*/
public interface SysActivityService extends IService<SysActivity> {
//活动增删改查
    int addActivity(SysActivity activity);
    int deleteActivity(Integer id);
    int updateActivity(SysActivity activity);
//    List<SysActivity> queryActivity();
//    查询+分页
    Page<SysActivity> queryActivityByPage(PageDto pageDto);
}
